<template>
  <a-config-provider :locale="zh_CN">
    <a-layout>
      <the-header/>
      <router-view/>
      <the-footer/>
    </a-layout>
  </a-config-provider>
</template>

<script lang="ts">
import TheHeader from "@/components/the-header.vue";
import {defineComponent} from 'vue';
import TheFooter from "@/components/the-footer.vue";
import zh_CN from "ant-design-vue/lib/locale-provider/zh_CN";

export default defineComponent({
  name: 'app',
  components: {
    TheFooter,
    TheHeader,
  },
  setup() {
    return {
      zh_CN
    };
  }
});
</script>

<style>
.ant-layout {
  height: 100vh;
}
</style>
